import React    from 'react';
import ReactDOM from 'react-dom';
import ComButton   from  './combutton.js';

var CommentBox = React.createClass({
    render: function() {
    return (
      <div className="commentBox">
        Hello! I am test.
        <ComButton klass={'primary'}></ComButton> 

        <ComButton klass={'secondary'} text={'取消'}></ComButton> 

        <ComButton klass={'third'} text={'导出'}></ComButton> 
        <button>原始 </button>   
      </div>
    );
    }
});

ReactDOM.render(
    <CommentBox />,
    document.getElementById('app')
);
